﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TSTreeSAX.fuctions
{
   public interface IStreamable
    {
        //Data Header
        int getDataHeaderSize();
        void readDataHeader(byte[] input_buffer);
        void readFromBuffer(byte[] input_buffer);
        //--------------------------------------------------------------------------
        //Data Body
        int getSize();
        void writeDataHeader(byte[] output_buffer);
        void writeToBuffer(byte[] output_buffer);
        //--------------------------------------------------------------------------
    }
}
